/**
 * @ClassName LC29
 * 两数相除
 * @Author ykx
 * @Date 2024/3/1 14:46
 * @Version 1.0
 */
public class LC29 {
    public int divide(int dividend, int divisor) {
        if (dividend == Integer.MIN_VALUE && divisor == -1) {
            return Integer.MAX_VALUE;
        }
        return dividend / divisor;
    }
}
